// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App'
import $ from 'jquery'
import axios from 'axios'
import qs from 'qs'

Vue.config.productionTip = false
//如果需要给其他页面中vue模块使用，需要使用下列代码将该模块暴露出去
Vue.prototype.$http = axios
Vue.prototype.$queryParam = qs

Vue.use(ElementUI)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: {App},
  template: '<App/>'
})
